package com.guodi.model.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guodi.model.entity.IdtFillProblem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guodi.model.vo.ApiIdtProblemVo;
import com.guodi.model.vo.ApiProblemToExcelVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
* 指标填报体检关联问题  Mapper 接口
* @author lzy
* @date 2023-05-31
*/
public interface IdtFillProblemMapper extends BaseMapper<IdtFillProblem> {

    IPage<ApiProblemToExcelVo> pageDetail(@Param("page") Page page,@Param("year") String year,@Param("divisionCode") String divisionCode);

    List<ApiProblemToExcelVo> problemList(@Param("year") String year,@Param("divisionCode") String divisionCode);

    List<ApiIdtProblemVo> getProblemList(@Param("year") String year,@Param("divisionCode") String divisionCode);

    List<String> getProblemNameById(@Param("ids") List<String> ids);
}
